using System;
using System.Collections.Generic;
using System.Text;

namespace org.ngwt.user.server.rpc
{
    public interface SerializationPolicyProvider
    {
        /**
         * Returns a {@link SerializationPolicy} for a given module base URL and
         * serialization policy strong name.
         * 
         * @param moduleBaseURL the URL for the module
         * @param serializationPolicyStrongName strong name of the serialization
         *          policy for the specified module URL
         * @return a {@link SerializationPolicy} for a given module base URL and RPC
         *         strong name; must not return <code>null</code>
         */
        SerializationPolicy getSerializationPolicy(String moduleBaseURL,
            String serializationPolicyStrongName);
    }
}
